package com.gegao.practise.simple;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.gegao.practise.R;

public class MyBrowserActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.one_button);
        
        Button bt = (Button)findViewById(R.id.bt);
        bt.setOnClickListener(new OnClickListener() {
            
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(MyBrowserActivity.this, MyBrowserPreferencesPage.class);
                MyBrowserActivity.this.startActivity(intent);
            }
        });
    }

}
